package com.hgcode.wtboot.config;

import cn.dev33.satoken.jwt.StpLogicJwtForStateless;
import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SaTokenConfigure {

	/**
	 * Sa-Token 整合 jwt (Style模式)
	 */

	@Bean
	public StpLogic getStpLogicJwt() {
		return new StpLogicJwtForStateless();
	}
}
